From: awilliam@xenbuild.aw Date: Fri, 21 Apr 2006 15:09:16 +0000 (-0600) Subject: [IA64] make dom_pa() static X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16148 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=d76078bf0abd03d7cbacc9ea54538d6c60ef2133;p=xen.git [IA64] make dom_pa() static dom_pa() is unsed only by dom_fw.c. make it static. Signed-off-by: Isaku Yamahata --- diff --git a/xen/arch/ia64/xen/dom_fw.c b/xen/arch/ia64/xen/dom_fw.c index f1b5c549c3..9f45769510 100644 --- a/xen/arch/ia64/xen/dom_fw.c +++ b/xen/arch/ia64/xen/dom_fw.c @@ -33,7 +33,8 @@ unsigned long imva_fw_base = -1; // return domain (meta)physical address for a given imva // this function is a call-back from dom_fw_init -unsigned long dom_pa(unsigned long imva) +static unsigned long +dom_pa(unsigned long imva) { if (dom_fw_base_mpa == -1 || imva_fw_base == -1) { printf("dom_pa: uninitialized! (spinning...)\n"); diff --git a/xen/include/asm-ia64/dom_fw.h b/xen/include/asm-ia64/dom_fw.h index 832e59014f..e5189719ac 100644 --- a/xen/include/asm-ia64/dom_fw.h +++ b/xen/include/asm-ia64/dom_fw.h @@ -5,7 +5,6 @@ * Dan Magenheimer (dan.magenheimer@hp.com) */ -extern unsigned long dom_pa(unsigned long); extern unsigned long dom_fw_setup(struct domain *, const char *, int); #ifndef MB